package com.sense.kukoo.common.repo.http.bean

import android.os.Parcelable
import kotlinx.parcelize.Parcelize

@Parcelize
data class LoginResultBean(

    val accessToken	    :String,//令牌信息	string
    val enableCaptcha	:Boolean?,//启用图形验证码	boolean
    val expiresIn	    :Int,//过期时间(单位: 秒)	integer(int32)
    val jti	            :String?,//JWT短令牌	string
    val refreshToken	:String?,//刷新Token	string
    val tokenType	    :String?,//Token类型	string

): Parcelable {
    companion object{
        //用户来源: 0. 内部; 1. facebook; 2. google; 3.apple; 4.twitter; 5. line;
        val SOURCE_INNER = 0
        val SOURCE_FACEBOOK = 1
        val SOURCE_GOOGLE = 2
        val SOURCE_APPLE = 3
        val SOURCE_TWITTER = 4
        val SOURCE_LINE = 5
    }
}